From: Victor Vasiliev Date: Mon, 14 Jan 2008 18:42:39 +0000 (+0000) Subject: * (bug 12536) User should be able to get MediaWiki version from any page X-Git-Tag: 1.31.0-rc.0~50004 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=ee98b38445378caa42c706a0df78c87fe6e30bd0;p=lhc%2Fweb%2Fwiklou.git * (bug 12536) User should be able to get MediaWiki version from any page * (bug 12622) A JavaScript constant to declare whether api.php is available --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index a41b3c2bd4..1657d6b934 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -129,7 +129,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Added exception hooks * (bug 12574) Allow bots to specify whether an edit should be marked as a bot edit, via the parameter 'bot'. (Default: '1') -* (bug 12611) Bot flag ignored in recent changes +* (bug 12536) User should be able to get MediaWiki version from any page +* (bug 12622) A JavaScript constant to declare whether api.php is available === Bug fixes in 1.12 === @@ -308,6 +309,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN This should help prevent infinite link loops that some software may follow, and will generally keep feed behavior cleaner. * (bug 12608) Unifying the spelling of getDBkey() in the code. +* (bug 12611) Bot flag ignored in recent changes == Parser changes in 1.12 == diff --git a/includes/Skin.php b/includes/Skin.php index 64d8b3e8e6..e693f921c6 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -298,6 +298,7 @@ class Skin extends Linker { global $wgTitle, $wgCanonicalNamespaceNames, $wgOut, $wgArticle; global $wgBreakFrames, $wgRequest; global $wgUseAjax, $wgAjaxWatch; + global $wgVersion, $wgEnableAPI, $wgEnableWriteAPI; $ns = $wgTitle->getNamespace(); $nsname = isset( $wgCanonicalNamespaceNames[ $ns ] ) ? $wgCanonicalNamespaceNames[ $ns ] : $wgTitle->getNsText(); @@ -325,6 +326,9 @@ class Skin extends Linker { 'wgContentLanguage' => $wgContLang->getCode(), 'wgBreakFrames' => $wgBreakFrames, 'wgCurRevisionId' => isset( $wgArticle ) ? $wgArticle->getLatest() : 0, + 'wgVersion' => $wgVersion, + 'wgEnableAPI' => $wgEnableAPI, + 'wgEnableWriteAPI' => $wgEnableWriteAPI, ); global $wgLivePreview;